.class Lcom/waiqin365/lightapp/dailyreport/ao;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/kehu/c/l;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/ao;->a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/ao;->a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->a(Ljava/lang/String;)V

    return-void
.end method

.method public a(I)V
    .locals 6

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/ao;->a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->h()V

    :try_start_0
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/ao;->a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->c(Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;)Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    move-result-object v1

    const-class v2, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "id"

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/ao;->a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    iget-object v2, v2, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->a:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "name"

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/ao;->a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    iget-object v2, v2, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->b:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/ao;->a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->c(Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;)Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    move-result-object v1

    invoke-static {v1}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/ao;->a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    iget-object v2, v2, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/offlinedata/m;->i(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    const-string/jumbo v2, "emp_position"

    iget-object v3, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->j:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "phone"

    iget-object v3, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->d:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "tel"

    iget-object v3, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->e:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "pic_url"

    iget-object v3, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->l:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/ao;->a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->c(Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;)Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    iget-object v3, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    const-string/jumbo v2, "0"

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/dailyreport/ao;->a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    invoke-static {v4}, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->c(Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;)Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    move-result-object v4

    invoke-virtual {v3, v4}, Lcom/waiqin365/base/login/mainview/a;->c(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    const-string/jumbo v2, "1"

    iget-object v3, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->n:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_1

    :cond_0
    const-string/jumbo v2, "sendable"

    const/4 v3, 0x0

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    :cond_1
    const-string/jumbo v2, "toChatUsername"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v4

    iget-object v5, p0, Lcom/waiqin365/lightapp/dailyreport/ao;->a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    invoke-static {v5}, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->c(Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;)Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    move-result-object v5

    invoke-virtual {v4, v5}, Lcom/waiqin365/base/login/mainview/a;->k(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, "_"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/ao;->a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/ao;->a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->overridePendingTransition(II)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method
